Release 10.1A: OpenEdge Data Management:
SQL Reference
MONTHS_BETWEEN
Computes the number of months between two date values corresponding to the first and second arguments.
Syntax
Example
This example illustrates the
MONTHS_BETWEENfunction:
Notes
- The first and second arguments to the function must be of type
DATE.- The result is of type
INTEGER.- The result is negative if the date corresponding to the second argument is greater than that corresponding to the first argument.
- If any of the argument expressions evaluates to
NULL, the result isNULL.Compatibility
Progress extension
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |